package com.five.dao;

import com.five.entity.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    /**
     * 根据idnumber找用户
     * @param idnumber
     * @return
     */
    User selectByIdnumber(String idnumber);

}